package com.cmc.cloud.cmclink.doc.api.document.rep;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 提单货物信息 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 *
 * @author codegen
 */
@Data
public class BlnoCargoBaseRespDto {

    @Schema(description = "提单主信息id", example = "24965")
    private Long blnoId;

    @Schema(description = "货类", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    private String cargoType;

    @Schema(description = "hscode", requiredMode = Schema.RequiredMode.REQUIRED)
    private String hsCode;

    @Schema(description = "包装代码")
    private String packageCode;

    @Schema(description = "包装描述")
    private String packageDesc;

    @Schema(description = "货物件数")
    private Integer quantity;

    @Schema(description = "货物毛重")
    private BigDecimal grossWeight;

    @Schema(description = "货物尺寸")
    private BigDecimal measurement;

    @Schema(description = "英文品名(货描)")
    private String commodityEn;

    @Schema(description = "中文品名")
    private String commodityCn;

    @Schema(description = "唛头")
    private String marks;

    @Schema(description = "温度")
    private String temperature;

    @Schema(description = "温度单位")
    private String temperatureUnit;

    @Schema(description = "通风度")
    private String vantilation;

    @Schema(description = "unno")
    private String unNo;

    @Schema(description = "imoclass")
    private String imoClass;

    @Schema(description = "闪点")
    private String flashPoint;

    @Schema(description = "包装组别")
    private String packingGroup;

    @Schema(description = "货类子类", example = "2")
    private String cargoSubType;

}
